export const ammo = {
    title: "ammo 类型，所有属性均为必传",
    options: [
        {
            label: "属性名",
            prop: "name",
            width: "150px"
        },
        {
            label: "类型",
            prop: "type",
            width: "150px",
        },
        {
            label: "说明",
            prop: "explain",
        },
    ],
    data: [
        {
            name: "x",
            type: "Number",
            explain: "起始坐标--x",
        },
        {
            name: "y",
            type: "Number",
            explain: "起始坐标--y，实际绘制值为画布高度减去当前 y",
        },
        {
            name: "end",
            type: "Number",
            explain: "结束位置距离起始坐标距离",
        },
        {
            name: "radius",
            type: "Number",
            explain: "半径",
        },
        {
            name: "color",
            type: "String",
            explain: "颜色",
        },
        {
            name: "speed",
            type: "Number",
            explain: "速度",
        },
        {
            name: "callback",
            type: "({x: number, y: number}) => void",
            explain: "到达结束位置回调，y 的值为画布高度减去 y 之后的值",
        },
    ]
}